Skip to content

build-git-installers: decouple the VS registry settings from the autoupdater #740

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Apr 7, 2025

Conversation

dscho
Copy link
Member

@dscho dscho commented Apr 3, 2025

As pointed out in #739, the VS registry settings are added only if the autoupdater feature is enabled. This was unintentional; Just like the corresponding part in the uninstaller, these two things should be apart.

So let's decouple the VS registry settings from the autoupdater.

Let's do that by ensuring that we put the function calls outside of the autoupdater blocks.

For good measure, we add checks to verify that both calls were added, i.e. that the expected patterns were found.

This fixes #739

As pointed out in #739, the VS
registry settings are added only if the autoupdater feature is enabled.
This was unintentional; Just like the corresponding part in the
uninstaller, these two things should be apart.

So let's decouple the VS registry settings from the autoupdater.

Let's do that by ensuring that we put the function calls _outside_ of
the autoupdater blocks.

For good measure, we add checks to verify that both calls _were_ added,
i.e. that the expected patterns were found.

Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
@dscho dscho merged commit aa12a2e into vfs-2.49.0 Apr 7, 2025
120 checks passed
@dscho dscho deleted the fix-vs-registry-edits branch April 7, 2025 10:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Winget does not install Visual Studio Integration / Visual Studio integration linked to autoupdate
2 participants